package red.lightblue.admin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import red.lightblue.admin.model.Type;
import red.lightblue.admin.qc.TypeQC;

import java.util.List;

/**
 * @Author lixiang
 * @CreateTime 01/04/2018
 **/
@Mapper
@Repository
public interface TypeDAO {
    int insertType(Type type);
    List<Type> listType(TypeQC type);
    Integer countType(TypeQC type);
}
